package com.by.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("s_order")
@ApiModel(value = "订单")
public class Order {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    int id;

    @TableField(value = "orderNum")
    @ApiModelProperty(value = "订单编号")
    String orderNum;

    @ApiModelProperty(value = "金额")
    double money;

    @ApiModelProperty(value = "订单状态")
    int status;

    @TableLogic
    @ApiModelProperty(value = "是否删除",hidden = true)
    int isdel;
}
